package com.ruoyi.teaching.domain;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;

/**
  * <p>
  * 
  * </p>
  *
  * @author 李志鑫
  * @since 2024-09-10
  */
@Data
@TableName("web_socket_temporary_message")
@ApiModel(value="WebSocketTemporaryMessage对象", description="")
public class WebSocketTemporaryMessage implements Serializable {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "临时消息id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "临时消息a用户(发送者)")
    private Long userA;

    @ApiModelProperty(value = "a用户名（昵称）")
    private String userANickName;

    @ApiModelProperty(value = "a用户头像")
    private String userAAvatar;

    @ApiModelProperty(value = "临时消息b用户(接收着)")
    private Long userB;

    @ApiModelProperty(value = "b用户名（昵称）")
    private String userBNickName;

    @ApiModelProperty(value = "b用户头像")
    private String userBAvatar;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "消息")
    private String message;

    @ApiModelProperty(value = "对话框Id")
    private Integer dialogueId;



}